const path = require('path')
const proxy = require('./proxy')//这个地方引入proxy

module.exports = {
    dev: {

        // Paths
        assetsSubDirectory: 'static',
        assetsPublicPath: '/',
        proxyTable: {//增加一个api的前缀
            '/api':{
                target: "http://localhost/up_tb_admin.php/api",
                changeOrigin:true,

                pathRewrite:{
                    '^/api':''
                },
                secure:false

            },

        },

    },
    
}